package com.yonyou.crm.sys.org.itf;

import com.yonyou.crm.common.page.entity.Page;
import com.yonyou.crm.sys.org.entity.SysOrgVO;

import java.util.List;
import java.util.Map;

public interface ISysOrgBizService {
	public Page<SysOrgVO> getPage(Page<SysOrgVO> page, Map<String, Object> paraMap);
	public SysOrgVO getDetail(Long id);
	public SysOrgVO insert(SysOrgVO vo);
	public SysOrgVO update(SysOrgVO vo);
	public List<Map<String, Object>> getSysOrgTree();
	public List<Map<String, Object>> getTreeByOrgType(Integer orgType, Long fatherorgId,Long id);
	public Object selectFieldsByIds(Object[] ids);
	public String batchUpdateEnablestate(String[] ids, Integer enableState);
	public int batchDelete(String[] ids);
	public List<Map<String, Object>> getSysOrgVoByCondition(Map<String, Object> paraMap);
}
